package com.quectel.core.module.partyeducationexam.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quectel.core.module.partyeducationexam.dto.ref.ExamRefPersonDto;
import com.quectel.core.module.partyeducationexam.dto.ref.PersonRefExamDto;
import com.quectel.core.module.partyeducationexam.entity.PartyEducationTrainingExamPersonEntity;

import java.util.List;
import java.util.Map;
/**
 *
 * @author ryan
 * @email ryan.ran@quectel.com
 * @date 2023/06/27 15:26
 */
public interface PartyEducationTrainingExamPersonDao extends BaseMapper<PartyEducationTrainingExamPersonEntity> {

    /**
     * 查询列表
     *
     * @param params
     * @return
     */
    List<PartyEducationTrainingExamPersonEntity> queryList(Map<String,Object> params);

    /**
     * 查询数量
     *
     * @param params
     * @return
     */
    int queryTotal(Map<String, Object> params);

    List<ExamRefPersonDto> queryExamList(Map<String, Object> queryExamParams);

    List<PersonRefExamDto> queryPersonList(Map<String, Object> params);

    int queryPersonTotal(Map<String, Object> params);

    int queryExamTotal(Map<String, Object> params);
}
